Subj: Colored text in 640 mode 90-11-05 08:31:52 EST
From: AFL Scott
Posted on: America Online
Using the defaul system font in 640 mode, according to the manuals, it should be possible to draw text in dithered colors...
So far, the only colors I've been able to get are... Pink, bright, Bright green, black, and white - using all combinations of FontFlags, SetForeColor, and SetBackColor. Can someone please clue me as to how to generate RED, GREEN, and BLUE text characters in 640 mode using the toolbox?
Apparently I'm missing something very basic here...
Thanks!
Scott
Path: IIGS Toolbox/Colored Text in 640 mode
Subj: Textcolors 90-11-05 18:31:10 EST
From: Damien9
Posted on: America Online
Well, I could be wrong, but for dithered colors I think you need to create a penmask with the proper pattern of alternating colors
Jeff
Path: IIGS Toolbox/Colored Text in 640 mode
Subj: Colour Text 90-11-08 22:34:04 EST
From: CodeMaster
Posted on: America Online
As far as I know [ as of today! :) ] you can not have Dither colours for text in 640 mode.
You can change the color settings and have 16 colours in 640, but not text.
Please, some come in here and tell me I'm wrong!
CodeSmit
Path: IIGS Toolbox/Colored Text in 640 mode
Subj: Uh... 90-11-09 00:07:56 EST
From: MUS1
Posted on: America Online
You're wrong! :)
That is, if I understand the question - AppleWorks GS lets you make the text any of the 16 dithered colors... not that very many of them look good though.
Path: IIGS Toolbox/Colored Text in 640 mode
Subj: Here's now you do it: 90-11-10 18:36:29 EST
From: ShanoJ
Posted on: America Online
I tried this from NiftyList, on the Finder's screen, but it should work in a real program, too: (all numbers are hex)
_SetFontFlags(0004)
_SetForeColor(6666)
_SetBackColor(FFFF)
_DrawString(@"Hi there!")
you should get pinkish text on a white background.... Hope this helps!